Skip to content

chore: Add release scripts #42

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 20, 2025
Merged

chore: Add release scripts #42

merged 2 commits into from
Jun 20, 2025

Conversation

kou
Copy link
Member

@kou kou commented Jun 20, 2025

What's Changed

This is based on the release scripts in apache/arrow-js.

Here is the release workflow:

  1. Run dev/release/release_rc.sh 21.0.0 0
    1. This push v21.0.0-rc0 tag
    2. The tag push runs GitHub Actions workflow for RC that:
      1. Generates source archive
      2. Verifies these artifacts
      3. Creates a GitHub Release for the RC and uploads these artifacts to the GitHub Release
    3. This downloads these artifacts from the GitHub Release
    4. This signs these artifacts on local and upload these signs to the GitHub Release
    5. This shows vote e-mail template
  2. Start a vote on dev@arrow.apache.org
  3. Run dev/release/release.sh 21.0.0 0 after the vote carried
    1. This push v21.0.0tag
    2. The tag push runs GitHub Actions workflow for release that:
      1. Creates a GitHub Release for the release and copies all artifacts from the GitHub Release for the RC
    3. This uploads the voted source archive to https://dist.apache.org/repos/dist/release/arrow/
    4. This removes old releases from https://dist.apache.org/repos/dist/release/arrow/
  4. Add the release to ASF's report database: https://reporter.apache.org/addrelease.html?arrow

See also the added dev/release/README.md.

Closes #8.

@kou
Copy link
Member Author

kou commented Jun 20, 2025

@raulcd
Copy link
Member

raulcd commented Jun 20, 2025

The error on the setup-swift action might just be a flaky GitHub runners issue:


Run swift-actions/setup-swift@682457186b71c25a884c45c06f859febbe259240
  with:
    swift-version: 5.10
  env:
    RC: 20250620
    VERSION: 1.0.0
/usr/bin/gpg --import /home/runner/work/_temp/5f340862-7c41-4c6f-b4de-b2c854b2986c
gpg: directory '/home/runner/.gnupg' created
gpg: keybox '/home/runner/.gnupg/pubring.kbx' created
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0
Error: Unexpected error, unable to continue. Please report at https://github.com/swift-actions/setup-swift/issues
The process '/usr/bin/gpg' failed with exit code 2
Stacktrace:
Error: The process '/usr/bin/gpg' failed with exit code 2
    at ExecState._setResult (/home/runner/work/_actions/swift-actions/setup-swift/682457186b71c25a884c45c06f859febbe259240/dist/index.js:3197:25)
    at ExecState.CheckComplete (/home/runner/work/_actions/swift-actions/setup-swift/682457186b71c25a884c45c06f859febbe259240/dist/index.js:3180:18)
    at ChildProcess.<anonymous> (/home/runner/work/_actions/swift-actions/setup-swift/682457186b71c25a884c45c06f859febbe259240/dist/index.js:3074:27)
    at ChildProcess.emit (node:events:524:28)
    at maybeClose (node:internal/child_process:1104:16)
    at ChildProcess._handle.onexit (node:internal/child_process:304:5)

@kou
Copy link
Member Author

kou commented Jun 20, 2025

I think so too. I re-ran it and it passed now.

@raulcd raulcd merged commit 5adbb48 into apache:main Jun 20, 2025
15 of 18 checks passed
@kou kou deleted the release branch June 20, 2025 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Prepare release scripts
2 participants